import pdfjs from "pdfjs-dist";
import {
    PDFLinkService,
    PDFViewer,
    PDFFindController
} from "pdfjs-dist/web/pdf_viewer";
import "pdfjs-dist/web/pdf_viewer.css";
import pdfjsWorker from "pdfjs-dist/build/pdf.worker";
pdfjs.GlobalWorkerOptions.workerSrc = pdfjsWorker;

import Vue from 'vue';

window.PDFViewer = PDFViewer
window.PDFLinkService = PDFLinkService
window.PDFFindController = PDFFindController
window.pdfjs = pdfjs
window.pdfjs.GlobalWorkerOptions.workerSrc = pdfjsWorker;
window.pdfjsWorker = pdfjsWorker
